﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace FrameEngine
{
    public interface ITool : ICommand
    {
        /// <summary>
        /// 鼠标样式
        /// </summary>
        Cursor Cursor { get; set; }


        /// <summary>
        /// 当选择该工具时执行的函数
        /// </summary>
        void Select();


        /// <summary>
        /// 当不选择该工具时执行的函数
        /// </summary>
        void UnSelect();

        /// <summary>
        /// 鼠标在地球上按下
        /// </summary>
        /// <param name="e"></param>
        void MouseDown(MouseEventArgs e);


        /// <summary>
        /// 鼠标在地球上移动
        /// </summary>
        /// <param name="e"></param>
        void MouseMove(MouseEventArgs e);


        /// <summary>
        /// 鼠标在地球上弹起
        /// </summary>
        /// <param name="e"></param>
        void MoudeUp(MouseEventArgs e);


        /// <summary>
        /// 鼠标在地球上双击
        /// </summary>
        /// <param name="e"></param>
        void MouseDoubleClick(MouseEventArgs e);
    }
}
